{template "header.html", "/"}

<div class="work-box">
    <div class="work-right" style="width: 10rem; height: auto;">
        <div class="work-right-top">
            <div class="work-right-top-ti">{dr_cat_value($catid, 'name')}</div>
            <div class="top-ti-r"> 当前位置: <a href="{SITE_URL}"> 首页 </a> > {dr_cat_value($catid, 'name')}
            </div>
        </div>
        <div style="width: 95%; margin: 20px auto; height: auto; padding-bottom: 30px; overflow: hidden;">
            {module catid=$catid order=updatetime page=1 pagesize=12}
            <div class="ph-img" style="float: left; margin-left: 15px;">
                <a href="{$t.url}">
                    <img src="{dr_thumb($t.thumb)}" alt="" style="width: 1.5rem">
                    <div style="background: #fff; color: #000; width: 100%;
                    height: 0.3rem; line-break: 0.3rem; text-align: center">{dr_strcut($t.title,8)}</div>
                </a>
            </div>
            {/module}
        </div>
        <div class="page-box" id="nav2" style="position: relative; margin: 30px auto">
            {$pages}
        </div>
    </div>
</div>

<script>
  
</script>
<script type="text/javascript">
    var anchors = $("#nav2")[0].getElementsByTagName("a");
    for (i = 0; i < anchors.length; i++) {
        anchors[i].target = "_self";
    }
</script>
{template "footer.html", "/"}